import router from '@system.router';

export default {
    data : {
    },
    onInit() {
        console.info("Page secpage on init!");
    },
    onReady(){
        console.info("Page secpage on ready!");
    },
    onShow() {
        console.info("Page secpage on show!");
    },
    onHide() {
        console.info("Page secpage on hide!");
    },
    onDestroy() {
        console.info("Page secpage on destroy!");
    },
    onBackPress() {
        console.info("Page index : back button pressed!");
        return false;
    },
    // 返回到之前的页面
    back() {
        router.back();
    }
}
